package problem.solution.case03;

import org.springframework.aop.framework.AopContext;
import org.springframework.stereotype.Component;

/**
 * @author syg
 * @date 2021年12月1日10:18:13
 */
@Component
public class ASolution03 {


    public void save01() {
        System.out.println("save01()=" + this.hashCode() + ",地址值=" + this);
        ASolution03 proxy = (ASolution03) AopContext.currentProxy();
        proxy.save02();
    }

    public void save02() {
        System.out.println("save02()=" + this.hashCode() + ",地址值=" + this);
    }
}
